package com.start_eternity.oasissafewalk.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Car {
    private Integer carId;
    private String carName;
    private String color;
    private String number;//车牌号
    private Integer status;
    private Integer peopleNumber;//准载人数
    private LocalDate buyingTime;//购买时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private LocalDateTime deleteTime;
    private Integer routeId;//外键线路id



}